package tianrun.ziguan.api.calculate.config.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import tianrun.ziguan.api.calculate.config.dto.response.TAssetCalLabelConfigVO;
import tianrun.ziguan.api.calculate.config.entity.TAssetCalLabelConfig;

import java.util.Collection;
import java.util.List;

/**
 * @author zhaoqi
 */
public interface TAssetCalLabelConfigMapper extends BaseMapper<TAssetCalLabelConfig> {

    List<TAssetCalLabelConfigVO> queryLabelListByAssetNums(@Param("assetNums") Collection<String> assetNums, @Param("tableName")String tableName);
    List<TAssetCalLabelConfigVO> queryLabelListByCalAssetIds(@Param("ids") Collection<Long> ids, @Param("tableName")String tableName);
}
